



									/*Flagi państw świata  */
[Embed(source="../../assets/img/flagi/poland.png")] [Bindable] public var polska_img:Class;
[Embed(source="../../assets/img/flagi/austria.png")] [Bindable] public var austria_img:Class;
[Embed(source="../../assets/img/flagi/belarus.png")] [Bindable] public var bialorus_img:Class;
[Embed(source="../../assets/img/flagi/belgia.png")] [Bindable] public var belgia_img:Class;
[Embed(source="../../assets/img/flagi/bosnia_hercegowina.png")] [Bindable] public var bosnia_hercegowina_img:Class;
[Embed(source="../../assets/img/flagi/bulgaria.png")] [Bindable] public var bulgaria_img:Class;
[Embed(source="../../assets/img/flagi/czechy.png")] [Bindable] public var czechy_img:Class;
[Embed(source="../../assets/img/flagi/dania.png")] [Bindable] public var dania_img:Class;
[Embed(source="../../assets/img/flagi/estonia.png")] [Bindable] public var estonia_img:Class;
[Embed(source="../../assets/img/flagi/finlandia.png")] [Bindable] public var finlandia_img:Class;
[Embed(source="../../assets/img/flagi/francja.png")] [Bindable] public var francja_img:Class;
[Embed(source="../../assets/img/flagi/niemcy.png")] [Bindable] public var niemcy_img:Class;
[Embed(source="../../assets/img/flagi/grecja.png")] [Bindable] public var grecja_img:Class;
[Embed(source="../../assets/img/flagi/wegry.png")] [Bindable] public var wegry_img:Class;
[Embed(source="../../assets/img/flagi/islandia.png")] [Bindable] public var islandia_img:Class;
[Embed(source="../../assets/img/flagi/irlandia.png")] [Bindable] public var irlandia_img:Class;
[Embed(source="../../assets/img/flagi/wlochy.png")] [Bindable] public var wlochy_img:Class;
[Embed(source="../../assets/img/flagi/lotwa.png")] [Bindable] public var lotwa_img:Class;
[Embed(source="../../assets/img/flagi/litwa.png")] [Bindable] public var litwa_img:Class;
[Embed(source="../../assets/img/flagi/moldawia.png")] [Bindable] public var moldawia_img:Class;
[Embed(source="../../assets/img/flagi/albania.png")] [Bindable] public var albania_img:Class;
[Embed(source="../../assets/img/flagi/chorwacja.png")] [Bindable] public var chorwacja_img:Class;
[Embed(source="../../assets/img/flagi/luxemburg.png")] [Bindable] public var luxemburg_img:Class;
[Embed(source="../../assets/img/flagi/macedonia.png")] [Bindable] public var macedonia_img:Class;
[Embed(source="../../assets/img/flagi/malta.png")] [Bindable] public var malta_img:Class;
[Embed(source="../../assets/img/flagi/holandia.png")] [Bindable] public var holandia_img:Class;
[Embed(source="../../assets/img/flagi/norwegia.png")] [Bindable] public var norwegia_img:Class;
[Embed(source="../../assets/img/flagi/portugalia.png")] [Bindable] public var portugalia_img:Class;
[Embed(source="../../assets/img/flagi/rumunia.png")] [Bindable] public var rumunia_img:Class;
[Embed(source="../../assets/img/flagi/serbia.png")] [Bindable] public var serbia_img:Class;
[Embed(source="../../assets/img/flagi/slowacja.png")] [Bindable] public var slowacja_img:Class;
[Embed(source="../../assets/img/flagi/slowenia.png")] [Bindable] public var slowenia_img:Class;
[Embed(source="../../assets/img/flagi/hiszpania.png")] [Bindable] public var hiszpania_img:Class;
[Embed(source="../../assets/img/flagi/szwecja.png")] [Bindable] public var szwecja_img:Class;
[Embed(source="../../assets/img/flagi/szwajcaria.png")] [Bindable] public var szwajcaria_img:Class;
[Embed(source="../../assets/img/flagi/ukraina.png")] [Bindable] public var ukraina_img:Class;
[Embed(source="../../assets/img/flagi/wielka_brytania.png")] [Bindable] public var wielka_brytania_img:Class;

//*********************************** 		Azja		 **********************************************//
[Embed(source="../../assets/img/flagi/afganistan.png")] [Bindable] public var afganistan_img:Class;
[Embed(source="../../assets/img/flagi/armenia.png")] [Bindable] public var armenia_img:Class;
[Embed(source="../../assets/img/flagi/azerbejdzan.png")] [Bindable] public var azerbejdzan_img:Class;
[Embed(source="../../assets/img/flagi/bahrain.png")] [Bindable] public var bahrain_img:Class;
[Embed(source="../../assets/img/flagi/bangladesz.png")] [Bindable] public var bangladesz_img:Class;
[Embed(source="../../assets/img/flagi/brunei.png")] [Bindable] public var brunei_img:Class;
[Embed(source="../../assets/img/flagi/kambodza.png")] [Bindable] public var kambodza_img:Class;
[Embed(source="../../assets/img/flagi/china.png")] [Bindable] public var china_img:Class;
[Embed(source="../../assets/img/flagi/cypr.png")] [Bindable] public var cypr_img:Class;
[Embed(source="../../assets/img/flagi/gruzja.png")] [Bindable] public var gruzja_img:Class;
[Embed(source="../../assets/img/flagi/indie.png")] [Bindable] public var indie_img:Class;
[Embed(source="../../assets/img/flagi/indonezja.png")] [Bindable] public var indonezja_img:Class;
[Embed(source="../../assets/img/flagi/iran.png")] [Bindable] public var iran_img:Class;
[Embed(source="../../assets/img/flagi/irak.png")] [Bindable] public var irak_img:Class;
[Embed(source="../../assets/img/flagi/izrael.png")] [Bindable] public var izrael_img:Class;
[Embed(source="../../assets/img/flagi/japan.png")] [Bindable] public var japan_img:Class;
[Embed(source="../../assets/img/flagi/jordania.png")] [Bindable] public var jordania_img:Class;
[Embed(source="../../assets/img/flagi/kazachstan.png")] [Bindable] public var kazachstan_img:Class;
[Embed(source="../../assets/img/flagi/korea_polnocna.png")] [Bindable] public var korea_polnocna_img:Class;
[Embed(source="../../assets/img/flagi/korea_poludniowa.png")] [Bindable] public var korea_poludniowa_img:Class;
[Embed(source="../../assets/img/flagi/kuwejt.png")] [Bindable] public var kuwejt_img:Class;
[Embed(source="../../assets/img/flagi/kirgistan.png")] [Bindable] public var kirgistan_img:Class;
[Embed(source="../../assets/img/flagi/liban.png")] [Bindable] public var liban_img:Class;
[Embed(source="../../assets/img/flagi/malezja.png")] [Bindable] public var malezja_img:Class;
[Embed(source="../../assets/img/flagi/birma.png")] [Bindable] public var birma_img:Class;
[Embed(source="../../assets/img/flagi/nepal.png")] [Bindable] public var nepal_img:Class;
[Embed(source="../../assets/img/flagi/oman.png")] [Bindable] public var oman_img:Class;
[Embed(source="../../assets/img/flagi/pakistan.png")] [Bindable] public var pakistan_img:Class;
[Embed(source="../../assets/img/flagi/filipiny.png")] [Bindable] public var filipiny_img:Class;
[Embed(source="../../assets/img/flagi/katar.png")] [Bindable] public var katar_img:Class;
[Embed(source="../../assets/img/flagi/rosja.png")] [Bindable] public var rosja_img:Class;
[Embed(source="../../assets/img/flagi/arabia_saudyjska.png")] [Bindable] public var arabia_saudyjska_img:Class;
[Embed(source="../../assets/img/flagi/sri_lanka.png")] [Bindable] public var sri_lanka_img:Class;
[Embed(source="../../assets/img/flagi/singapur.png")] [Bindable] public var singapur_img:Class;
[Embed(source="../../assets/img/flagi/syria.png")] [Bindable] public var syria_img:Class;
[Embed(source="../../assets/img/flagi/taiwan.png")] [Bindable] public var taiwan_img:Class;
[Embed(source="../../assets/img/flagi/tadzykistan.png")] [Bindable] public var tadzykistan_img:Class;
[Embed(source="../../assets/img/flagi/tajlandia.png")] [Bindable] public var tajlandia_img:Class;
[Embed(source="../../assets/img/flagi/turcja.png")] [Bindable] public var turcja_img:Class;
[Embed(source="../../assets/img/flagi/turkmenistan.png")] [Bindable] public var turkmenistan_img:Class;
[Embed(source="../../assets/img/flagi/zjednoczone_emiraty_arabskie.png")] [Bindable] public var zjednoczone_emiraty_arabskie_img:Class;
[Embed(source="../../assets/img/flagi/uzbekistan.png")] [Bindable] public var uzbekistan_img:Class;
[Embed(source="../../assets/img/flagi/wietnam.png")] [Bindable] public var wietnam_img:Class;
[Embed(source="../../assets/img/flagi/jemen.png")] [Bindable] public var jemen_img:Class;

[Embed(source="../../assets/img/flagi/bhutan.png")] [Bindable] public var bhutan_img:Class;
[Embed(source="../../assets/img/flagi/mongolia.png")] [Bindable] public var mongolia_img:Class;
[Embed(source="../../assets/img/flagi/laos.png")] [Bindable] public var laos_img:Class;
[Embed(source="../../assets/img/flagi/papua_nowa_gwinea.png")] [Bindable] public var papua_nowa_gwinea_img:Class;


//**************************************************************************************************************//

//********************      				Afryka									**************//
[Embed(source="../../assets/img/flagi/algieria.png")] [Bindable] public var algieria_img:Class;
[Embed(source="../../assets/img/flagi/angola.png")] [Bindable] public var angola_img:Class;
[Embed(source="../../assets/img/flagi/benin.png")] [Bindable] public var benin_img:Class;
[Embed(source="../../assets/img/flagi/norwegia.png")] [Bindable] public var botswana_img:Class;
[Embed(source="../../assets/img/flagi/Kamerun.png")] [Bindable] public var Kamerun_img:Class;
[Embed(source="../../assets/img/flagi/republika_demokratyczna_kongo.png")] [Bindable] public var republika_demokratyczna_kongo_img:Class;
[Embed(source="../../assets/img/flagi/republika_kongo.png")] [Bindable] public var republika_kongo_img:Class;
[Embed(source="../../assets/img/flagi/egipt.png")] [Bindable] public var egipt_img:Class;
[Embed(source="../../assets/img/flagi/etiopia.png")] [Bindable] public var etiopia_img:Class;
[Embed(source="../../assets/img/flagi/gabon.png")] [Bindable] public var gabon_img:Class;
[Embed(source="../../assets/img/flagi/ghana.png")] [Bindable] public var ghana_img:Class;
[Embed(source="../../assets/img/flagi/kenia.png")] [Bindable] public var kenia_img:Class;
[Embed(source="../../assets/img/flagi/libia.png")] [Bindable] public var libia_img:Class;
[Embed(source="../../assets/img/flagi/maroko.png")] [Bindable] public var maroko_img:Class;
[Embed(source="../../assets/img/flagi/mozambik.png")] [Bindable] public var mozambik_img:Class;
[Embed(source="../../assets/img/flagi/namibia.png")] [Bindable] public var namibia_img:Class;
[Embed(source="../../assets/img/flagi/nigeria.png")] [Bindable] public var nigeria_img:Class;
[Embed(source="../../assets/img/flagi/senegal.png")] [Bindable] public var senegal_img:Class;
[Embed(source="../../assets/img/flagi/rpa.png")] [Bindable] public var rpa_img:Class;
[Embed(source="../../assets/img/flagi/sudan.png")] [Bindable] public var sudan_img:Class;
[Embed(source="../../assets/img/flagi/tanzania.png")] [Bindable] public var tanzania_img:Class;
[Embed(source="../../assets/img/flagi/togo.png")] [Bindable] public var togo_img:Class;
[Embed(source="../../assets/img/flagi/tunezja.png")] [Bindable] public var tunezja_img:Class;
[Embed(source="../../assets/img/flagi/trynidad_tobago.png")] [Bindable] public var trynidad_tobago_img:Class;
[Embed(source="../../assets/img/flagi/zambia.png")] [Bindable] public var zambia_img:Class;
[Embed(source="../../assets/img/flagi/zimbabwe.png")] [Bindable] public var zimbabwe_img:Class;

[Embed(source="../../assets/img/flagi/czad.png")] [Bindable] public var czad_img:Class;
[Embed(source="../../assets/img/flagi/mali.png")] [Bindable] public var mali_img:Class;
[Embed(source="../../assets/img/flagi/gwinea.png")] [Bindable] public var gwinea_img:Class;
[Embed(source="../../assets/img/flagi/burkina_faso.png")] [Bindable] public var burkina_faso_img:Class;
[Embed(source="../../assets/img/flagi/mauretania.png")] [Bindable] public var mauretania_img:Class;
[Embed(source="../../assets/img/flagi/liberia.png")] [Bindable] public var liberia_img:Class;
[Embed(source="../../assets/img/flagi/sierra_leone.png")] [Bindable] public var sierra_leone_img:Class;
[Embed(source="../../assets/img/flagi/niger.png")] [Bindable] public var niger_img:Class;
[Embed(source="../../assets/img/flagi/republika_srodkowoafrykanska.png")] [Bindable] public var republika_srodkowoafrykanska_img:Class;
[Embed(source="../../assets/img/flagi/gwinea_rownikowa.png")] [Bindable] public var gwinea_rownikowa_img:Class;
[Embed(source="../../assets/img/flagi/uganda.png")] [Bindable] public var uganda_img:Class;
[Embed(source="../../assets/img/flagi/somalia.png")] [Bindable] public var somalia_img:Class;
[Embed(source="../../assets/img/flagi/rwanda.png")] [Bindable] public var rwanda_img:Class;
[Embed(source="../../assets/img/flagi/madagaskar.png")] [Bindable] public var madagaskar_img:Class;
[Embed(source="../../assets/img/flagi/erytrea.png")] [Bindable] public var erytrea_img:Class;
[Embed(source="../../assets/img/flagi/lesotho.png")] [Bindable] public var lesotho_img:Class;
[Embed(source="../../assets/img/flagi/swaziland.png")] [Bindable] public var swaziland_img:Class;

//***********************************************************************************************************//





//*****************************					Ameryki					***********************************//
[Embed(source="../../assets/img/flagi/nowa_zelandia.png")] [Bindable] public var nowa_zelandia_img:Class;
[Embed(source="../../assets/img/flagi/kanada.png")] [Bindable] public var kanada_img:Class;
[Embed(source="../../assets/img/flagi/meksyk.png")] [Bindable] public var meksyk_img:Class;
[Embed(source="../../assets/img/flagi/usa.png")] [Bindable] public var usa_img:Class;
[Embed(source="../../assets/img/flagi/kostaryka.png")] [Bindable] public var kostaryka_img:Class;
[Embed(source="../../assets/img/flagi/kuba.png")] [Bindable] public var kuba_img:Class;
[Embed(source="../../assets/img/flagi/salvador.png")] [Bindable] public var salvador_img:Class;
[Embed(source="../../assets/img/flagi/gwatemala.png")] [Bindable] public var gwatemala_img:Class;
[Embed(source="../../assets/img/flagi/honduras.png")] [Bindable] public var honduras_img:Class;
[Embed(source="../../assets/img/flagi/nikaragua.png")] [Bindable] public var nikaragua_img:Class;
[Embed(source="../../assets/img/flagi/panama.png")] [Bindable] public var panama_img:Class;
[Embed(source="../../assets/img/flagi/dominikana.png")] [Bindable] public var dominikana_img:Class;
[Embed(source="../../assets/img/flagi/haiti.png")] [Bindable] public var haiti_img:Class;
[Embed(source="../../assets/img/flagi/jamajka.png")] [Bindable] public var jamajka_img:Class;
[Embed(source="../../assets/img/flagi/argentyna.png")] [Bindable] public var argentyna_img:Class;
[Embed(source="../../assets/img/flagi/boliwia.png")] [Bindable] public var boliwia_img:Class;
[Embed(source="../../assets/img/flagi/brazylia.png")] [Bindable] public var brazylia_img:Class;
[Embed(source="../../assets/img/flagi/chile.png")] [Bindable] public var chile_img:Class;
[Embed(source="../../assets/img/flagi/kolumbia.png")] [Bindable] public var kolumbia_img:Class;
[Embed(source="../../assets/img/flagi/ekwador.png")] [Bindable] public var ekwador_img:Class;
[Embed(source="../../assets/img/flagi/paragwaj.png")] [Bindable] public var paragwaj_img:Class;
[Embed(source="../../assets/img/flagi/peru.png")] [Bindable] public var peru_img:Class;
[Embed(source="../../assets/img/flagi/urugwaj.png")] [Bindable] public var urugwaj_img:Class;
[Embed(source="../../assets/img/flagi/wenezuela.png")] [Bindable] public var wenezuela_img:Class;
[Embed(source="../../assets/img/flagi/suriname.png")] [Bindable] public var suriname_img:Class;
[Embed(source="../../assets/img/flagi/belize.png")] [Bindable] public var belize_img:Class;
[Embed(source="../../assets/img/flagi/gujana.png")] [Bindable] public var gujana_img:Class;
//***************************************************************************************************//
//
[Embed(source="../../assets/img/flagi/australia.png")] [Bindable] public var australia_img:Class;



private function createEuropeFlagColorMapping():Object {
    var objVar:Object = {"#9CBB57":"Polska","#B9D875":"Albania"};
    return objVar;
}

public function setFlagOnMapFromCombo(countryPl:String){
    if(countryPl == 'Polska'){
       img_flaga.source=polska_img;
    }
}

public function flagi(objParam:Object):void
{
	img_flaga.source="";
	objParam.nazwa ="";
	
	/*********************   Europa    *******************/



	if(objParam.kod_koloru == "#9CBB57"){objParam.nazwa = "Polska"; img_flaga.source=polska_img;objParam.country="Poland";}
	if(objParam.kod_koloru == "#B9D875"){objParam.nazwa = "Albania"; img_flaga.source=albania_img;objParam.country="Albania";}
	if(objParam.kod_koloru == "#95B352"){objParam.nazwa = "Austria"; img_flaga.source=austria_img;objParam.country="Austria";}
	if(objParam.kod_koloru == "#A2C061"){objParam.nazwa = "Białoruś"; img_flaga.source=bialorus_img;objParam.country="Belarus";}
	if(objParam.kod_koloru == "#83A43C"){objParam.nazwa = "Belgia"; img_flaga.source=belgia_img;objParam.country="Belgium";}
	if(objParam.kod_koloru == "#AACA64"){objParam.nazwa = "Bośnia i Hercegowina"; img_flaga.source=bosnia_hercegowina_img;objParam.country="Bosnia and Herzegovina";}
	if(objParam.kod_koloru == "#B4D56A"){objParam.nazwa = "Bułgaria"; img_flaga.source=bulgaria_img;objParam.country="Bulgaria";}
	if(objParam.kod_koloru == "#A5C267"){objParam.nazwa = "Chorwacja"; img_flaga.source=chorwacja_img;objParam.country="Croatia";}
	if(objParam.kod_koloru == "#9ABE4C"){objParam.nazwa = "Republika Czech"; img_flaga.source=czechy_img;objParam.country="Czech Republic";}
	if(objParam.kod_koloru == "#8AA158"){objParam.nazwa = "Dania"; img_flaga.source=dania_img;objParam.country="Denmark";}
	if(objParam.kod_koloru == "#7E993F"){objParam.nazwa = "Estonia"; img_flaga.source=estonia_img;objParam.country="Estonia";}
	if(objParam.kod_koloru == "#899F58"){objParam.nazwa = "Finlandia"; img_flaga.source=finlandia_img;objParam.country="Finland";}
	if(objParam.kod_koloru == "#809C41"){objParam.nazwa = "Francja"; img_flaga.source=francja_img;objParam.country="France";}
	if(objParam.kod_koloru == "#94B54C"){objParam.nazwa = "Niemcy"; img_flaga.source=niemcy_img;objParam.country="Germany";}
	if(objParam.kod_koloru == "#B7DC65"){objParam.nazwa = "Grecja"; img_flaga.source=grecja_img;objParam.country="Greece";}
	if(objParam.kod_koloru == "#A0C452"){objParam.nazwa = "Węgry"; img_flaga.source=wegry_img;objParam.country="Hungary";}
	if(objParam.kod_koloru == "#779339"){objParam.nazwa = "Islandia"; img_flaga.source=islandia_img;objParam.country="Iceland";}
	if(objParam.kod_koloru == "#8BAA45"){objParam.nazwa = "Irlandia"; img_flaga.source=irlandia_img;objParam.country="Ireland";}
	if(objParam.kod_koloru == "#9EBD59"){objParam.nazwa = "Włochy"; img_flaga.source=wlochy_img;objParam.country="Italy";}
	if(objParam.kod_koloru == "#8EAA50"){objParam.nazwa = "Łotwa"; img_flaga.source=lotwa_img;objParam.country="Latvia";}
	if(objParam.kod_koloru == "#93B24F"){objParam.nazwa = "Litwa"; img_flaga.source=litwa_img;objParam.country="Lithuania";}
	//if(objParam.kod_koloru == "LUKSEMBURG"){objParam.nazwa = "Luksemburg"; img_flaga.source=luxemburg_img;objParam.country="Luxembourg";}
	if(objParam.kod_koloru == "#B8DA6C"){objParam.nazwa = "Macedonia"; img_flaga.source=macedonia_img;objParam.country="Macedonia, FYR";}
	//if(objParam.kod_koloru == "#9CBB57"){objParam.nazwa = "Malta"; img_flaga.source=malta_img;objParam.country="Malta";}
	if(objParam.kod_koloru == "#AAC963"){objParam.nazwa = "Mołdawia"; img_flaga.source=moldawia_img;objParam.country="Moldova";}
	if(objParam.kod_koloru == "#8BAE43"){objParam.nazwa = "Holandia"; img_flaga.source=holandia_img;objParam.country="Netherlands";}
	if(objParam.kod_koloru == "#7B9444"){objParam.nazwa = "Norwegia"; img_flaga.source=norwegia_img;objParam.country="Norway";}
	if(objParam.kod_koloru == "#869E50"){objParam.nazwa = "Portugalia"; img_flaga.source=portugalia_img;objParam.country="Portugal";}
	if(objParam.kod_koloru == "#ACCE61"){objParam.nazwa = "Rumunia"; img_flaga.source=rumunia_img;objParam.country="Romania";}
	if(objParam.kod_koloru == "#AECE67"){objParam.nazwa = "Serbia i Czarnogóra"; img_flaga.source=serbia_img;objParam.country="Serbia and Montenegro";}
	if(objParam.kod_koloru == "#9BC245"){objParam.nazwa = "Republika Słowacji"; img_flaga.source=slowacja_img;objParam.country="Slovak Republic";}
	if(objParam.kod_koloru == "#98B850"){objParam.nazwa = "Słowenia"; img_flaga.source=slowenia_img;objParam.country="Slovenia";}
	if(objParam.kod_koloru == "#849F48"){objParam.nazwa = "Hiszpania"; img_flaga.source=hiszpania_img;objParam.country="Spain";}
	if(objParam.kod_koloru == "#83A141"){objParam.nazwa = "Szwecja"; img_flaga.source=szwecja_img;objParam.country="Sweden";}
	if(objParam.kod_koloru == "#83A141s"){objParam.nazwa = "Szwajcaria"; img_flaga.source=szwajcaria_img;objParam.country="Switzerland";}
	if(objParam.kod_koloru == "#A4C756"){objParam.nazwa = "Ukraina"; img_flaga.source=ukraina_img;objParam.country="Ukraine";}
	if(objParam.kod_koloru == "#819E40"){objParam.nazwa = "Wielka Brytania"; img_flaga.source=wielka_brytania_img;objParam.country="United Kingdom";}
	
	
	/*********************   /Europa    *******************/
				
				
	/*********************   Azja    *******************/
				
	if(objParam.kod_koloru == "#DFCB60"){objParam.nazwa = "Afganistan"; img_flaga.source=afganistan_img;objParam.country="Afghanistan";}
	if(objParam.kod_koloru == "#D8C269"){objParam.nazwa = "Armenia"; img_flaga.source=armenia_img;objParam.country="Armenia";}
	if(objParam.kod_koloru == "#D7C26E"){objParam.nazwa = "Azerbejdżan"; img_flaga.source=azerbejdzan_img;objParam.country="Azerbaijan";}
	if(objParam.kod_koloru == "BAHRAIN"){objParam.nazwa = "Królestwo Bahrajnu"; img_flaga.source=bahrain_img;objParam.country="Bahrain";}
	if(objParam.kod_koloru == "#EDDD6E"){objParam.nazwa = "Bangladesz"; img_flaga.source=bangladesz_img;objParam.country="Bangladesh";}
	if(objParam.kod_koloru == "BRUNEI"){objParam.nazwa = "Brunei"; img_flaga.source=brunei_img;objParam.country="Brunei";}
	if(objParam.kod_koloru == "#E4968C"){objParam.nazwa = "Kambodża"; img_flaga.source=kambodza_img;objParam.country="Cambodia";}
	if(objParam.kod_koloru == "#CB7B71"){objParam.nazwa = "Chiny"; img_flaga.source=china_img;objParam.country="China";}
	if(objParam.kod_koloru == "CYPR"){objParam.nazwa = "Cypr"; img_flaga.source=cypr_img;objParam.country="Cyprus";}
	if(objParam.kod_koloru == "#CFBE7D"){objParam.nazwa = "Gruzja"; img_flaga.source=gruzja_img;objParam.country="Georgia";}
	if(objParam.kod_koloru == "#EDDA74"){objParam.nazwa = "Indie"; img_flaga.source=indie_img;objParam.country="India";}
	if(objParam.kod_koloru == "#E19B92"){objParam.nazwa = "Indonezja"; img_flaga.source=indonezja_img;objParam.country="Indonesia";}
	if(objParam.kod_koloru == "#DDC66B"){objParam.nazwa = "Iran, Islamska Republika Iranu"; img_flaga.source=iran_img;objParam.country="Iran, Islamic Rep.";}
	if(objParam.kod_koloru == "#D8C05F"){objParam.nazwa = "Irak"; img_flaga.source=irak_img;objParam.country="Iraq";}
	if(objParam.kod_koloru == "#CAB04C"){objParam.nazwa = "Izrael"; img_flaga.source=izrael_img;objParam.country="Israel";}
	if(objParam.kod_koloru == "#DC7C70"){objParam.nazwa = "Japonia"; img_flaga.source=japan_img;objParam.country="Japan";}
	if(objParam.kod_koloru == "#D1BA60"){objParam.nazwa = "Jordania"; img_flaga.source=jordania_img;objParam.country="Jordan";}
	if(objParam.kod_koloru == "#5D7148"){objParam.nazwa = "Kazachstan"; img_flaga.source=kazachstan_img;objParam.country="Kazakhstan";}
	if(objParam.kod_koloru == "#D17C71"){objParam.nazwa = "Korea Północna"; img_flaga.source=korea_polnocna_img;objParam.country="Korea, Dem. Rep.";}
	if(objParam.kod_koloru == "#D77C71"){objParam.nazwa = "Korea Południowa"; img_flaga.source=korea_poludniowa_img;objParam.country="Korea, Rep.";}
	if(objParam.kod_koloru == "#D6BC50"){objParam.nazwa = "Kuwejt"; img_flaga.source=kuwejt_img;objParam.country="Kuwait";}
	if(objParam.kod_koloru == "#63784D"){objParam.nazwa = "Kirgistan"; img_flaga.source=kirgistan_img;objParam.country="Kyrgyz Republic";}
	if(objParam.kod_koloru == "#E2C75C"){objParam.nazwa = "Liban"; img_flaga.source=liban_img;objParam.country="Lebanon";}
	if(objParam.kod_koloru == "#CB9583"){objParam.nazwa = "Malezja"; img_flaga.source=malezja_img;objParam.country="Malaysia";}
	if(objParam.kod_koloru == "#D07373"){objParam.nazwa = "Birma"; img_flaga.source=birma_img;objParam.country="Myanmar";}
	if(objParam.kod_koloru == "#F1DB6C"){objParam.nazwa = "Nepal"; img_flaga.source=nepal_img;objParam.country="Nepal";}
	if(objParam.kod_koloru == "#E8D174"){objParam.nazwa = "Oman"; img_flaga.source=oman_img;objParam.country="Oman";}
	if(objParam.kod_koloru == "#E7D26A"){objParam.nazwa = "Pakistan"; img_flaga.source=pakistan_img;objParam.country="Pakistan";}
	if(objParam.kod_koloru == "#CB7E76"){objParam.nazwa = "Filipiny"; img_flaga.source=filipiny_img;objParam.country="Philippines";}
	if(objParam.kod_koloru == "KATAR"){objParam.nazwa = "Katar"; img_flaga.source=filipiny_img;objParam.country="Qatar";}
	if(objParam.kod_koloru == "#556A40"){objParam.nazwa = "Federacja Rosyjska"; img_flaga.source=rosja_img;objParam.country="Russian Federation";}
	if(objParam.kod_koloru == "#DDC668"){objParam.nazwa = "Arabia Saudyjska"; img_flaga.source=arabia_saudyjska_img;objParam.country="Saudi Arabia";}
	if(objParam.kod_koloru == "SINGAPUR"){objParam.nazwa = "Singapur"; img_flaga.source=singapur_img;objParam.country="Singapore";}
	if(objParam.kod_koloru == "#EBD879"){objParam.nazwa = "Sri Lanka"; img_flaga.source=sri_lanka_img;objParam.country="Sri Lanka";}
	if(objParam.kod_koloru == "#D0B755"){objParam.nazwa = "Syria"; img_flaga.source=syria_img;objParam.country="Syrian Arab Republic";}
	if(objParam.kod_koloru == "#CB8A71"){objParam.nazwa = "Tajwan"; img_flaga.source=taiwan_img;objParam.country="Taiwan";}
	if(objParam.kod_koloru == "#698052"){objParam.nazwa = "Tadżykistan"; img_flaga.source=tadzykistan_img;objParam.country="Tajikistan";}
	if(objParam.kod_koloru == "#CB8977"){objParam.nazwa = "Tajlandia"; img_flaga.source=tajlandia_img;objParam.country="Thailand";}
	if(objParam.kod_koloru == "#C9B04D"){objParam.nazwa = "Turcja"; img_flaga.source=turcja_img;objParam.country="Turkey";}
	if(objParam.kod_koloru == "#7F916C"){objParam.nazwa = "Turkmenistan"; img_flaga.source=turkmenistan_img;objParam.country="Turkmenistan";}
	if(objParam.kod_koloru == "#E4CD71"){objParam.nazwa = "Zjednoczone Emiraty Arabskie"; img_flaga.source=zjednoczone_emiraty_arabskie_img;objParam.country="United Arab Emirates";}
	if(objParam.kod_koloru == "#657950"){objParam.nazwa = "Uzbekistan"; img_flaga.source=uzbekistan_img;objParam.country="Uzbekistan";}
	if(objParam.kod_koloru == "#E18F85"){objParam.nazwa = "Wietnam"; img_flaga.source=wietnam_img;objParam.country="Vietnam";}
	if(objParam.kod_koloru == "#E3CC6E"){objParam.nazwa = "Jemen"; img_flaga.source=jemen_img;objParam.country="Yemen, Rep.";}
//Do uzupełnienia
						
	if(objParam.kod_koloru == "#EDDB7F"){objParam.nazwa = "Bhutan"; img_flaga.source=bhutan_img;objParam.country="Bhutan";}
	if(objParam.kod_koloru == "#C3746A"){objParam.nazwa = "Mongolia"; img_flaga.source=mongolia_img;objParam.country="Mongolia";}
	if(objParam.kod_koloru == "#DB8F84"){objParam.nazwa = "Laos"; img_flaga.source=laos_img;objParam.country="Laos";}
	if(objParam.kod_koloru == "#E8A69D"){objParam.nazwa = "Papua Nowa Gwinea"; img_flaga.source=papua_nowa_gwinea_img;objParam.country="Papua Nowa Gwinea";}
	

	
	/*********************   /Azja    *******************/
				
	/*********************   Afryka    *******************/
	if(objParam.kod_koloru == "#7F602E"){objParam.nazwa = "Algeria"; img_flaga.source=algieria_img;objParam.country="Algeria";}
	if(objParam.kod_koloru == "#B4925B"){objParam.nazwa = "Angola"; img_flaga.source=angola_img;objParam.country="Angola";}
	if(objParam.kod_koloru == "#8E6E3C"){objParam.nazwa = "Benin"; img_flaga.source=benin_img;objParam.country="Benin";}
	if(objParam.kod_koloru == "#C5A168"){objParam.nazwa = "Botswana"; img_flaga.source=botswana_img;objParam.country="Botswana";}
	if(objParam.kod_koloru == "#A38048"){objParam.nazwa = "Kamerun"; img_flaga.source=Kamerun_img;objParam.country="Cameroon";}
	if(objParam.kod_koloru == "#AB8952"){objParam.nazwa = "Republika Demokratyczna Kongo"; img_flaga.source=republika_demokratyczna_kongo_img;objParam.country="Congo, Dem. Rep.";}
	if(objParam.kod_koloru == "#A98753"){objParam.nazwa = "Republika Kongo"; img_flaga.source=republika_kongo_img;objParam.country="Congo, Rep.";}
	if(objParam.kod_koloru == "#9F8152"){objParam.nazwa = "Wybrzeże Kości Słoniowej"; img_flaga.source=polska_img;objParam.country="Cote d''Ivoire";}
	if(objParam.kod_koloru == "#9E7A3F"){objParam.nazwa = "Egipt"; img_flaga.source=egipt_img;objParam.country="Egypt, Arab Rep.";}
	if(objParam.kod_koloru == "#B69153"){objParam.nazwa = "Etiopia"; img_flaga.source=etiopia_img;objParam.country="Ethiopia";}
	if(objParam.kod_koloru == "#B29059"){objParam.nazwa = "Gabon"; img_flaga.source=gabon_img;objParam.country="Gabon";}
	if(objParam.kod_koloru == "#937442"){objParam.nazwa = "Ghana"; img_flaga.source=ghana_img;objParam.country="Ghana";}
	if(objParam.kod_koloru == "#C39C5A"){objParam.nazwa = "Kenia"; img_flaga.source=kenia_img;objParam.country="Kenya";}
	if(objParam.kod_koloru == "#967237"){objParam.nazwa = "Libia"; img_flaga.source=libia_img;objParam.country="Libya";}
	if(objParam.kod_koloru == "#76592A"){objParam.nazwa = "Maroko"; img_flaga.source=maroko_img;objParam.country="Morocco";}
	if(objParam.kod_koloru == "#D5B072"){objParam.nazwa = "Mozambik"; img_flaga.source=mozambik_img;objParam.country="Mozambique";}
	if(objParam.kod_koloru == "#A47C41"){objParam.nazwa = "Gwinea"; img_flaga.source=gwinea_img;objParam.country="Gwinea";}
	
	
	if(objParam.kod_koloru == "#CDAA72"){objParam.nazwa = "Namibia"; img_flaga.source=namibia_img;objParam.country="Namibia";}
	if(objParam.kod_koloru == "#8D6E3C"){objParam.nazwa = "Nigeria"; img_flaga.source=nigeria_img;objParam.country="Nigeria";}
	if(objParam.kod_koloru == "#8E6E39"){objParam.nazwa = "Senegal"; img_flaga.source=senegal_img;objParam.country="Senegal";}
	if(objParam.kod_koloru == "#D6B37B"){objParam.nazwa = "Republika Południowej Afryki"; img_flaga.source=rpa_img;objParam.country="South Africa";}
	if(objParam.kod_koloru == "#A48147"){objParam.nazwa = "Sudan"; img_flaga.source=sudan_img;objParam.country="Sudan";}
	if(objParam.kod_koloru == "#C9A362"){objParam.nazwa = "Tanzania"; img_flaga.source=tanzania_img;objParam.country="Tanzania";}
	if(objParam.kod_koloru == "#997946"){objParam.nazwa = "Togo"; img_flaga.source=togo_img;objParam.country="Togo";}
	if(objParam.kod_koloru == "#8C6A33"){objParam.nazwa = "Tunezja"; img_flaga.source=tunezja_img;objParam.country="Tunisia";}
	if(objParam.kod_koloru == "TRYNIDAD"){objParam.nazwa = "Trinidad i Tobago"; img_flaga.source=trynidad_tobago_img;objParam.country="Trinidad and Tobago";}
	if(objParam.kod_koloru == "#B69156"){objParam.nazwa = "Zambia"; img_flaga.source=zambia_img;objParam.country="Zambia";}
	if(objParam.kod_koloru == "#BE995F"){objParam.nazwa = "Zimbabwe"; img_flaga.source=zimbabwe_img;objParam.country="Zimbabwe";}
//Do uzupełnienia

	if(objParam.kod_koloru == "#CFAB6F"){objParam.nazwa = "Swaziland"; img_flaga.source=swaziland_img;objParam.country="Swaziland";}
	if(objParam.kod_koloru == "#9C7941"){objParam.nazwa = "Czad"; img_flaga.source=czad_img;objParam.country="Czad";}
	if(objParam.kod_koloru == "#7B5F31"){objParam.nazwa = "Zachodnia Sachara"; img_flaga.source='';objParam.country="Zachodnia Sachara";}
	if(objParam.kod_koloru == "#8C6E3E"){objParam.nazwa = "Mali"; img_flaga.source=mali_img;objParam.country="Mali";}
	if(objParam.kod_koloru == "#9C7F50"){objParam.nazwa = "Gwinea"; img_flaga.source=gwinea_img;objParam.country="Gwinea";}
	if(objParam.kod_koloru == "#907241"){objParam.nazwa = "Burkina faso"; img_flaga.source=burkina_faso_img;objParam.country="Burkina faso";}
	if(objParam.kod_koloru == "#886937"){objParam.nazwa = "Mauretania"; img_flaga.source=mauretania_img;objParam.country="Mauritania";}
	if(objParam.kod_koloru == "#A88D61"){objParam.nazwa = "Liberia"; img_flaga.source=liberia_img;objParam.country="Liberia";}
	if(objParam.kod_koloru == "#A28658"){objParam.nazwa = "Sierra Leone"; img_flaga.source=sierra_leone_img;objParam.country="Sierra Leone";}
	if(objParam.kod_koloru == "#866736"){objParam.nazwa = "Republika Nigru"; img_flaga.source=niger_img;objParam.country="Republika Nigru";}
	if(objParam.kod_koloru == "#A4814A"){objParam.nazwa = "Republika środkowoafrykańska"; img_flaga.source=republika_srodkowoafrykanska_img;objParam.country="Republika środkowoafrykańska";}
	if(objParam.kod_koloru == "#A47C41"){objParam.nazwa = "Gwinea równikowa"; img_flaga.source=gwinea_rownikowa_img;objParam.country="Gwinea równikowa";}
	if(objParam.kod_koloru == "#AB8950"){objParam.nazwa = "Uganda"; img_flaga.source=uganda_img;objParam.country="Uganda";}
	if(objParam.kod_koloru == "#C29954"){objParam.nazwa = "Somalia"; img_flaga.source=somalia_img;objParam.country="Somalia";}
	if(objParam.kod_koloru == "#B1894B"){objParam.nazwa = "Rwanda"; img_flaga.source=rwanda_img;objParam.country="Rwanda";}
	if(objParam.kod_koloru == "#DDB572"){objParam.nazwa = "Madagaskar"; img_flaga.source=madagaskar_img;objParam.country="Madagaskar";}
	if(objParam.kod_koloru == "#A98242"){objParam.nazwa = "Erytrea"; img_flaga.source=erytrea_img;objParam.country="Erytrea";}
	if(objParam.kod_koloru == "#C99A51"){objParam.nazwa = "Lesotho"; img_flaga.source=lesotho_img;objParam.country="Lesotho";}
	
	
	
	
	/*********************   /Afryka    *******************/
	/*********************   Australia    *******************/
	if(objParam.kod_koloru == "#5D9F9D"){objParam.nazwa = "Australia"; img_flaga.source=australia_img;objParam.country="Australia";}
	if(objParam.kod_koloru == "#73B0B5"){objParam.nazwa = "Nowa Zelandia"; img_flaga.source=nowa_zelandia_img;objParam.country="New Zealand";}
				
	/*********************   /Australia    *******************/
				
	/*********************   Ameryka Północna i Centralna    *******************/
	if(objParam.kod_koloru == "#66879D"){objParam.nazwa = "Kanada"; img_flaga.source=kanada_img;objParam.country="Canada";}
	if(objParam.kod_koloru == "#87ACC6"){objParam.nazwa = "Meksyk"; img_flaga.source=meksyk_img;objParam.country="Mexico";}
	if(objParam.kod_koloru == "#779DB7"){objParam.nazwa = "Stany Zjednoczone Ameryki Północnej"; img_flaga.source=usa_img;objParam.country="United States";}
	if(objParam.kod_koloru == "#92CCCE"){objParam.nazwa = "Kostaryka"; img_flaga.source=kostaryka_img;objParam.country="Costa Rica";}
	if(objParam.kod_koloru == "#8FBEC1"){objParam.nazwa = "Kuba"; img_flaga.source=kuba_img;objParam.country="Cuba";}
	if(objParam.kod_koloru == "#90C4C6"){objParam.nazwa = "Salwador"; img_flaga.source=salvador_img;objParam.country="El Salvador";}
	if(objParam.kod_koloru == "#72B1B3"){objParam.nazwa = "Gwatemala"; img_flaga.source=gwatemala_img;objParam.country="Guatemala";}
	if(objParam.kod_koloru == "#7EBBBD"){objParam.nazwa = "Honduras"; img_flaga.source=honduras_img;objParam.country="Honduras";}
	if(objParam.kod_koloru == "#8BC2C4"){objParam.nazwa = "Nikaragua"; img_flaga.source=nikaragua_img;objParam.country="Nicaragua";}
	if(objParam.kod_koloru == "#9ACFD1"){objParam.nazwa = "Panama"; img_flaga.source=panama_img;objParam.country="Panama";}
	if(objParam.kod_koloru == "#52A896"){objParam.nazwa = "Republika Dominikany"; img_flaga.source=dominikana_img;objParam.country="Dominican Republic";}
	if(objParam.kod_koloru == "#80BEBE"){objParam.nazwa = "Haiti"; img_flaga.source=haiti_img;objParam.country="Haiti";}
	if(objParam.kod_koloru == "#67B4B6"){objParam.nazwa = "Jamajka"; img_flaga.source=jamajka_img;objParam.country="Jamaica";}
	/*********************   /Ameryka Północna i Centralna   *******************/
			
	if(objParam.kod_koloru == "#5BA38A"){objParam.nazwa = "Argentyna"; img_flaga.source=argentyna_img;objParam.country="Argentina";}
	if(objParam.kod_koloru == "#4A9279"){objParam.nazwa = "Boliwia"; img_flaga.source=boliwia_img;objParam.country="Bolivia";}
	if(objParam.kod_koloru == "#46948E"){objParam.nazwa = "Brazylia"; img_flaga.source=brazylia_img;objParam.country="Brazil";}
	if(objParam.kod_koloru == "#649A87"){objParam.nazwa = "Chile"; img_flaga.source=chile_img;objParam.country="Chile";}
	if(objParam.kod_koloru == "#367772"){objParam.nazwa = "Kolumbia"; img_flaga.source=kolumbia_img;objParam.country="Colombia";}
	if(objParam.kod_koloru == "#45856F"){objParam.nazwa = "Ekwador"; img_flaga.source=ekwador_img;objParam.country="Ecuador";}
	if(objParam.kod_koloru == "#539A81"){objParam.nazwa = "Paragwaj"; img_flaga.source=paragwaj_img;objParam.country="Paraguay";}
	if(objParam.kod_koloru == "#4D8C76"){objParam.nazwa = "Peru"; img_flaga.source=peru_img;objParam.country="Peru";}
	if(objParam.kod_koloru == "#509E83"){objParam.nazwa = "Urugwaj"; img_flaga.source=urugwaj_img;objParam.country="Uruguay";}
	if(objParam.kod_koloru == "#418577"){objParam.nazwa = "Wenezuela"; img_flaga.source=wenezuela_img;objParam.country="Venezuela, RB";}

	if(objParam.kod_koloru == "#519272"){objParam.nazwa = "Gujana francuska"; img_flaga.source=francja_img;objParam.country="Gujana Francuska";}
	if(objParam.kod_koloru == "#54927C"){objParam.nazwa = "Suriname"; img_flaga.source=suriname_img;objParam.country="Suriname";}
	if(objParam.kod_koloru == "#8FC2C4"){objParam.nazwa = "El Salvador"; img_flaga.source=salvador_img;objParam.country="EL Salvador";}
	if(objParam.kod_koloru == "#77B9BB"){objParam.nazwa = "Belize"; img_flaga.source=belize_img;objParam.country="Belize";}
	if(objParam.kod_koloru == "#4C8E77"){objParam.nazwa = "Gujana"; img_flaga.source=gujana_img;objParam.country="Gujana";}
	if(objParam.kod_koloru == ""){objParam.nazwa = ""; img_flaga.source='';objParam.country="";}

	
	
				
				
}
public function flagi_nazwa_panstwa(objParam:Object):void
{
	
	/*********************   Europa    *******************/

    if (objParam.nazwa_panstwa == "Poland" || objParam.nazwa_panstwa == "Polska") {
        objParam.nazwa = "Polska";
        img_flaga.source = polska_img;
        objParam.country = "Poland";
    }
    if (objParam.nazwa_panstwa == "Albania" || objParam.nazwa_panstwa == "Albania") {
        objParam.nazwa = "Albania";
        img_flaga.source = albania_img;
        objParam.country = "Albania";
    }
    if (objParam.nazwa_panstwa == "Austria" || objParam.nazwa_panstwa == "Austria") {
        objParam.nazwa = "Austria";
        img_flaga.source = austria_img;
        objParam.country = "Austria";
    }
    if (objParam.nazwa_panstwa == "Belarus" || objParam.nazwa_panstwa == "Białoruś") {
        objParam.nazwa = "Białoruś";
        img_flaga.source = bialorus_img;
        objParam.country = "Belarus";
    }
    if (objParam.nazwa_panstwa == "Belgium" || objParam.nazwa_panstwa == "Belgia") {
        objParam.nazwa = "Belgia";
        img_flaga.source = belgia_img;
        objParam.country = "Belgium";
    }
    if (objParam.nazwa_panstwa == "Bosnia and Herzegovina" || objParam.nazwa_panstwa == "Bośnia i Hercegowina") {
        objParam.nazwa = "Bośnia i Hercegowina";
        img_flaga.source = bosnia_hercegowina_img;
        objParam.country = "Bosnia and Herzegovina";
    }
    if (objParam.nazwa_panstwa == "Bulgaria" || objParam.nazwa_panstwa == "Bułgaria") {
        objParam.nazwa = "Bułgaria";
        img_flaga.source = bulgaria_img;
        objParam.country = "Bulgaria";
    }
    if (objParam.nazwa_panstwa == "Croatia" || objParam.nazwa_panstwa == "Chorwacja") {
        objParam.nazwa = "Chorwacja";
        img_flaga.source = chorwacja_img;
        objParam.country = "Croatia";
    }
    if (objParam.nazwa_panstwa == "Czech Republic" || objParam.nazwa_panstwa == "Republika Czech") {
        objParam.nazwa = "Republika Czech";
        img_flaga.source = czechy_img;
        objParam.country = "Czech Republic";
    }
    if (objParam.nazwa_panstwa == "Denmark" || objParam.nazwa_panstwa == "Dania") {
        objParam.nazwa = "Dania";
        img_flaga.source = dania_img;
        objParam.country = "Denmark";
    }
    if (objParam.nazwa_panstwa == "Estonia" || objParam.nazwa_panstwa == "Estonia") {
        objParam.nazwa = "Estonia";
        img_flaga.source = estonia_img;
        objParam.country = "Estonia";
    }
    if (objParam.nazwa_panstwa == "Finland" || objParam.nazwa_panstwa == "Finlandia") {
        objParam.nazwa = "Finlandia";
        img_flaga.source = finlandia_img;
        objParam.country = "Finland";
    }
    if (objParam.nazwa_panstwa == "France" || objParam.nazwa_panstwa == "Francja") {
        objParam.nazwa = "Francja";
        img_flaga.source = francja_img;
        objParam.country = "France";
    }
    if (objParam.nazwa_panstwa == "Germany" || objParam.nazwa_panstwa == "Niemcy") {
        objParam.nazwa = "Niemcy";
        img_flaga.source = niemcy_img;
        objParam.country = "Germany";
    }
    if (objParam.nazwa_panstwa == "Greece" || objParam.nazwa_panstwa == "Grecja") {
        objParam.nazwa = "Grecja";
        img_flaga.source = grecja_img;
        objParam.country = "Greece";
    }
    if (objParam.nazwa_panstwa == "Hungary" || objParam.nazwa_panstwa == "Węgry") {
        objParam.nazwa = "Węgry";
        img_flaga.source = wegry_img;
        objParam.country = "Hungary";
    }
    if (objParam.nazwa_panstwa == "Iceland" || objParam.nazwa_panstwa == "Islandia") {
        objParam.nazwa = "Islandia";
        img_flaga.source = islandia_img;
        objParam.country = "Iceland";
    }
    if (objParam.nazwa_panstwa == "Ireland" || objParam.nazwa_panstwa == "Irlandia") {
        objParam.nazwa = "Irlandia";
        img_flaga.source = irlandia_img;
        objParam.country = "Ireland";
    }
    if (objParam.nazwa_panstwa == "Italy" || objParam.nazwa_panstwa == "Włochy") {
        objParam.nazwa = "Włochy";
        img_flaga.source = wlochy_img;
        objParam.country = "Italy";
    }
    if (objParam.nazwa_panstwa == "Latvia" || objParam.nazwa_panstwa == "Łotwa") {
        objParam.nazwa = "Łotwa";
        img_flaga.source = lotwa_img;
        objParam.country = "Latvia";
    }
    if (objParam.nazwa_panstwa == "Lithuania" || objParam.nazwa_panstwa == "Litwa") {
        objParam.nazwa = "Litwa";
        img_flaga.source = litwa_img;
        objParam.country = "Lithuania";
    }
    if (objParam.nazwa_panstwa == "Luxembourg" || objParam.nazwa_panstwa == "Luksemburg") {
        objParam.nazwa = "Luksemburg";
        img_flaga.source = luxemburg_img;
        objParam.country = "Luxembourg";
    }
    if (objParam.nazwa_panstwa == "Macedonia, FYR" || objParam.nazwa_panstwa == "Macedonia") {
        objParam.nazwa = "Macedonia";
        img_flaga.source = macedonia_img;
        objParam.country = "Macedonia, FYR";
    }
    if (objParam.nazwa_panstwa == "Malta" || objParam.nazwa_panstwa == "Malta") {
        objParam.nazwa = "Malta";
        img_flaga.source = malta_img;
        objParam.country = "Malta";
    }
    if (objParam.nazwa_panstwa == "Moldova" || objParam.nazwa_panstwa == "Mołdawia") {
        objParam.nazwa = "Mołdawia";
        img_flaga.source = moldawia_img;
        objParam.country = "Moldova";
    }
    if (objParam.nazwa_panstwa == "Netherlands" || objParam.nazwa_panstwa == "Holandia") {
        objParam.nazwa = "Holandia";
        img_flaga.source = holandia_img;
        objParam.country = "Netherlands";
    }
    if (objParam.nazwa_panstwa == "Norway" || objParam.nazwa_panstwa == "Norwegia") {
        objParam.nazwa = "Norwegia";
        img_flaga.source = norwegia_img;
        objParam.country = "Norway";
    }
    if (objParam.nazwa_panstwa == "Portugal" || objParam.nazwa_panstwa == "Portugalia") {
        objParam.nazwa = "Portugalia";
        img_flaga.source = portugalia_img;
        objParam.country = "Portugal";
    }
    if (objParam.nazwa_panstwa == "Romania" || objParam.nazwa_panstwa == "Rumunia") {
        objParam.nazwa = "Rumunia";
        img_flaga.source = rumunia_img;
        objParam.country = "Romania";
    }
    if (objParam.nazwa_panstwa == "Serbia and Montenegro" || objParam.nazwa_panstwa == "Serbia i Czarnogóra") {
        objParam.nazwa = "Serbia i Czarnogóra";
        img_flaga.source = serbia_img;
        objParam.country = "Serbia and Montenegro";
    }
    if (objParam.nazwa_panstwa == "Slovak Republic" || objParam.nazwa_panstwa == "Republika Słowacji") {
        objParam.nazwa = "Republika Słowacji";
        img_flaga.source = slowacja_img;
        objParam.country = "Slovak Republic";
    }
    if (objParam.nazwa_panstwa == "Slovenia" || objParam.nazwa_panstwa == "Słowenia") {
        objParam.nazwa = "Słowenia";
        img_flaga.source = slowenia_img;
        objParam.country = "Slovenia";
    }
    if (objParam.nazwa_panstwa == "Spain" || objParam.nazwa_panstwa == "Hiszpania") {
        objParam.nazwa = "Hiszpania";
        img_flaga.source = hiszpania_img;
        objParam.country = "Spain";
    }
    if (objParam.nazwa_panstwa == "Sweden" || objParam.nazwa_panstwa == "Szwecja") {
        objParam.nazwa = "Szwecja";
        img_flaga.source = szwecja_img;
        objParam.country = "Sweden";
    }
    if (objParam.nazwa_panstwa == "Switzerland" || objParam.nazwa_panstwa == "Szwajcaria") {
        objParam.nazwa = "Szwajcaria";
        img_flaga.source = szwajcaria_img;
        objParam.country = "Switzerland";
    }
    if (objParam.nazwa_panstwa == "Ukraine" || objParam.nazwa_panstwa == "Ukraina") {
        objParam.nazwa = "Ukraina";
        img_flaga.source = ukraina_img;
        objParam.country = "Ukraine";
    }
    if (objParam.nazwa_panstwa == "United Kingdom" || objParam.nazwa_panstwa == "Wielka Brytania") {
        objParam.nazwa = "Wielka Brytania";
        img_flaga.source = wielka_brytania_img;
        objParam.country = "United Kingdom";
    }
	/*********************   /Europa    *******************/
				
				
	/*********************   Azja    *******************/
				
	if(objParam.nazwa_panstwa == "Afghanistan" || objParam.nazwa_panstwa == "Afganistan"){objParam.nazwa = "Afganistan"; img_flaga.source=afganistan_img;objParam.country="Afghanistan";}
	if(objParam.nazwa_panstwa == "Armenia" || objParam.nazwa_panstwa == "Armenia"){objParam.nazwa = "Armenia"; img_flaga.source=armenia_img;objParam.country="Armenia";}
	if(objParam.nazwa_panstwa == "Azerbaijan" || objParam.nazwa_panstwa == "Azerbejdżan"){objParam.nazwa = "Azerbejdżan"; img_flaga.source=azerbejdzan_img;objParam.country="Azerbaijan";}
	if(objParam.nazwa_panstwa == "Bahrain" || objParam.nazwa_panstwa == "Królestwo Bahrajnu"){objParam.nazwa = "Królestwo Bahrajnu"; img_flaga.source=bahrain_img;objParam.country="Bahrain";}
	if(objParam.nazwa_panstwa == "Bangladesh" || objParam.nazwa_panstwa == "Bangladesz"){objParam.nazwa = "Bangladesz"; img_flaga.source=bangladesz_img;objParam.country="Bangladesh";}
	if(objParam.nazwa_panstwa == "Brunei" || objParam.nazwa_panstwa == "Brunei"){objParam.nazwa = "Brunei"; img_flaga.source=brunei_img;objParam.country="Brunei";}
	if(objParam.nazwa_panstwa == "Cambodia" || objParam.nazwa_panstwa == "Kambodża"){objParam.nazwa = "Kambodża"; img_flaga.source=kambodza_img;objParam.country="Cambodia";}
	if(objParam.nazwa_panstwa == "China" || objParam.nazwa_panstwa == "Chiny"){objParam.nazwa = "Chiny"; img_flaga.source=china_img;objParam.country="China";}
	if(objParam.nazwa_panstwa == "Cyprus" || objParam.nazwa_panstwa == "Cypr"){objParam.nazwa = "Cypr"; img_flaga.source=cypr_img;objParam.country="Cyprus";}
	if(objParam.nazwa_panstwa == "Georgia" || objParam.nazwa_panstwa == "Gruzja"){objParam.nazwa = "Gruzja"; img_flaga.source=gruzja_img;objParam.country="Georgia";}
	if(objParam.nazwa_panstwa == "India" || objParam.nazwa_panstwa == "Indie"){objParam.nazwa = "Indie"; img_flaga.source=indie_img;objParam.country="India";}
	if(objParam.nazwa_panstwa == "Indonesia" || objParam.nazwa_panstwa == "Indonezja"){objParam.nazwa = "Indonezja"; img_flaga.source=indonezja_img;objParam.country="Indonesia";}
	if(objParam.nazwa_panstwa == "Iran, Islamic Rep." || objParam.nazwa_panstwa == "Iran, Islamska Republika Iranu"){objParam.nazwa = "Iran, Islamska Republika Iranu"; img_flaga.source=iran_img;objParam.country="Iran, Islamic Rep.";}
	if(objParam.nazwa_panstwa == "Iraq" || objParam.nazwa_panstwa == "Irak"){objParam.nazwa = "Irak"; img_flaga.source=irak_img;objParam.country="Iraq";}
	if(objParam.nazwa_panstwa == "Israel" || objParam.nazwa_panstwa == "Izrael"){objParam.nazwa = "Izrael"; img_flaga.source=izrael_img;objParam.country="Israel";}
	if(objParam.nazwa_panstwa == "Japan" || objParam.nazwa_panstwa == "Japonia"){objParam.nazwa = "Japonia"; img_flaga.source=japan_img;objParam.country="Japan";}
	if(objParam.nazwa_panstwa == "Jordan" || objParam.nazwa_panstwa == "Jordania"){objParam.nazwa = "Jordania"; img_flaga.source=jordania_img;objParam.country="Jordan";}
	if(objParam.nazwa_panstwa == "Kazakhstan" || objParam.nazwa_panstwa == "Kazachstan"){objParam.nazwa = "Kazachstan"; img_flaga.source=kazachstan_img;objParam.country="Kazakhstan";}
	if(objParam.nazwa_panstwa == "Korea, Dem. Rep." || objParam.nazwa_panstwa == "Korea Północna"){objParam.nazwa = "Korea Północna"; img_flaga.source=korea_polnocna_img;objParam.country="Korea, Dem. Rep.";}
	if(objParam.nazwa_panstwa == "Korea, Rep." || objParam.nazwa_panstwa == "Korea Południowa"){objParam.nazwa = "Korea Południowa"; img_flaga.source=korea_poludniowa_img;objParam.country="Korea, Rep.";}
	if(objParam.nazwa_panstwa == "Kuwait" || objParam.nazwa_panstwa == "Kuwejt"){objParam.nazwa = "Kuwejt"; img_flaga.source=kuwejt_img;objParam.country="Kuwait";}
	if(objParam.nazwa_panstwa == "Kyrgyz Republic" || objParam.nazwa_panstwa == "Kirgistan"){objParam.nazwa = "Kirgistan"; img_flaga.source=kirgistan_img;objParam.country="Kyrgyz Republic";}
	if(objParam.nazwa_panstwa == "Lebanon" || objParam.nazwa_panstwa == "Liban"){objParam.nazwa = "Liban"; img_flaga.source=liban_img;objParam.country="Lebanon";}
	if(objParam.nazwa_panstwa == "Malaysia" || objParam.nazwa_panstwa == "Malezja"){objParam.nazwa = "Malezja"; img_flaga.source=malezja_img;objParam.country="Malaysia";}
	if(objParam.nazwa_panstwa == "Myanmar" || objParam.nazwa_panstwa == "Birma"){objParam.nazwa = "Birma"; img_flaga.source=birma_img;objParam.country="Myanmar";}
	if(objParam.nazwa_panstwa == "Nepal" || objParam.nazwa_panstwa == "Nepal"){objParam.nazwa = "Nepal"; img_flaga.source=nepal_img;objParam.country="Nepal";}
	if(objParam.nazwa_panstwa == "Oman" || objParam.nazwa_panstwa == "Oman"){objParam.nazwa = "Oman"; img_flaga.source=oman_img;objParam.country="Oman";}
	if(objParam.nazwa_panstwa == "Pakistan" || objParam.nazwa_panstwa == "Pakistan"){objParam.nazwa = "Pakistan"; img_flaga.source=pakistan_img;objParam.country="Pakistan";}
	if(objParam.nazwa_panstwa == "Philippines" || objParam.nazwa_panstwa == "Filipiny"){objParam.nazwa = "Filipiny"; img_flaga.source=filipiny_img;objParam.country="Philippines";}
	if(objParam.nazwa_panstwa == "Qatar" || objParam.nazwa_panstwa == "Katar"){objParam.nazwa = "Katar"; img_flaga.source=filipiny_img;objParam.country="Qatar";}
	if(objParam.nazwa_panstwa == "Russian Federation" || objParam.nazwa_panstwa == "Federacja Rosyjska"){objParam.nazwa = "Federacja Rosyjska"; img_flaga.source=rosja_img;objParam.country="Russian Federation";}
	if(objParam.nazwa_panstwa == "Saudi Arabia" || objParam.nazwa_panstwa == "Arabia Saudyjska"){objParam.nazwa = "Arabia Saudyjska"; img_flaga.source=arabia_saudyjska_img;objParam.country="Saudi Arabia";}
	if(objParam.nazwa_panstwa == "Singapore" || objParam.nazwa_panstwa == "Singapur"){objParam.nazwa = "Singapur"; img_flaga.source=singapur_img;objParam.country="Singapore";}
	if(objParam.nazwa_panstwa == "Sri Lanka" || objParam.nazwa_panstwa == "Sri Lanka"){objParam.nazwa = "Sri Lanka"; img_flaga.source=sri_lanka_img;objParam.country="Sri Lanka";}
	if(objParam.nazwa_panstwa == "Syrian Arab Republic" || objParam.nazwa_panstwa == "Syria"){objParam.nazwa = "Syria"; img_flaga.source=syria_img;objParam.country="Syrian Arab Republic";}
	if(objParam.nazwa_panstwa == "Taiwan" || objParam.nazwa_panstwa == "Tajwan"){objParam.nazwa = "Tajwan"; img_flaga.source=taiwan_img;objParam.country="Taiwan";}
	if(objParam.nazwa_panstwa == "Tajikistan" || objParam.nazwa_panstwa == "Tadżykistan"){objParam.nazwa = "Tadżykistan"; img_flaga.source=tadzykistan_img;objParam.country="Tajikistan";}
	if(objParam.nazwa_panstwa == "Thailand" || objParam.nazwa_panstwa == "Tajlandia"){objParam.nazwa = "Tajlandia"; img_flaga.source=tajlandia_img;objParam.country="Thailand";}
	if(objParam.nazwa_panstwa == "Turkey" || objParam.nazwa_panstwa == "Turcja"){objParam.nazwa = "Turcja"; img_flaga.source=turcja_img;objParam.country="Turkey";}
	if(objParam.nazwa_panstwa == "Turkmenistan" || objParam.nazwa_panstwa == "Turkmenistan"){objParam.nazwa = "Turkmenistan"; img_flaga.source=turkmenistan_img;objParam.country="Turkmenistan";}
	if(objParam.nazwa_panstwa == "United Arab Emirates" || objParam.nazwa_panstwa == "Zjednoczone Emiraty Arabskie"){objParam.nazwa = "Zjednoczone Emiraty Arabskie"; img_flaga.source=zjednoczone_emiraty_arabskie_img;objParam.country="United Arab Emirates";}
	if(objParam.nazwa_panstwa == "Uzbekistan" || objParam.nazwa_panstwa == "Uzbekistan"){objParam.nazwa = "Uzbekistan"; img_flaga.source=uzbekistan_img;objParam.country="Uzbekistan";}
	if(objParam.nazwa_panstwa == "Vietnam" || objParam.nazwa_panstwa == "Wietnam"){objParam.nazwa = "Wietnam"; img_flaga.source=wietnam_img;objParam.country="Vietnam";}
	if(objParam.nazwa_panstwa == "Yemen, Rep." || objParam.nazwa_panstwa == "Jemen"){objParam.nazwa = "Jemen"; img_flaga.source=jemen_img;objParam.country="Yemen, Rep.";}
							
	/*********************   /Azja    *******************/
				
	/*********************   Afryka    *******************/
	if(objParam.nazwa_panstwa == "Algeria" || objParam.nazwa_panstwa == "Algeria"){objParam.nazwa = "Algeria"; img_flaga.source=algieria_img;objParam.country="Algeria";}
	if(objParam.nazwa_panstwa == "Angola" || objParam.nazwa_panstwa == "Angola"){objParam.nazwa = "Angola"; img_flaga.source=angola_img;objParam.country="Angola";}
	if(objParam.nazwa_panstwa == "Benin" || objParam.nazwa_panstwa == "Benin"){objParam.nazwa = "Benin"; img_flaga.source=benin_img;objParam.country="Benin";}
	if(objParam.nazwa_panstwa == "Botswana" || objParam.nazwa_panstwa == "Botswana"){objParam.nazwa = "Botswana"; img_flaga.source=botswana_img;objParam.country="Botswana";}
	if(objParam.nazwa_panstwa == "Cameroon" || objParam.nazwa_panstwa == "Kamerun"){objParam.nazwa = "Kamerun"; img_flaga.source=Kamerun_img;objParam.country="Cameroon";}
	if(objParam.nazwa_panstwa == "Congo, Dem. Rep." || objParam.nazwa_panstwa == "Republika Demokratyczna Kongo"){objParam.nazwa = "Republika Demokratyczna Kongo"; img_flaga.source=republika_demokratyczna_kongo_img;objParam.country="Congo, Dem. Rep.";}
	if(objParam.nazwa_panstwa == "Congo, Rep." || objParam.nazwa_panstwa == "Republika Kongo"){objParam.nazwa = "Republika Kongo"; img_flaga.source=republika_kongo_img;objParam.country="Congo, Rep.";}
	if(objParam.nazwa_panstwa == "Cote d''Ivoire" || objParam.nazwa_panstwa == "Wybrzeże Kości Słoniowej"){objParam.nazwa = "Wybrzeże Kości Słoniowej"; img_flaga.source=polska_img;objParam.country="Cote d''Ivoire";}
	if(objParam.nazwa_panstwa == "Egypt, Arab Rep." || objParam.nazwa_panstwa == "Egipt"){objParam.nazwa = "Egipt"; img_flaga.source=egipt_img;objParam.country="Egypt, Arab Rep.";}
	if(objParam.nazwa_panstwa == "Ethiopia" || objParam.nazwa_panstwa == "Etiopia"){objParam.nazwa = "Etiopia"; img_flaga.source=etiopia_img;objParam.country="Ethiopia";}
	if(objParam.nazwa_panstwa == "Gabon" || objParam.nazwa_panstwa == "Gabon"){objParam.nazwa = "Gabon"; img_flaga.source=gabon_img;objParam.country="Gabon";}
	if(objParam.nazwa_panstwa == "Ghana" || objParam.nazwa_panstwa == "Ghana"){objParam.nazwa = "Ghana"; img_flaga.source=ghana_img;objParam.country="Ghana";}
	if(objParam.nazwa_panstwa == "Kenya" || objParam.nazwa_panstwa == "Kenia"){objParam.nazwa = "Kenia"; img_flaga.source=kenia_img;objParam.country="Kenya";}
	if(objParam.nazwa_panstwa == "Libya" || objParam.nazwa_panstwa == "Libia"){objParam.nazwa = "Libia"; img_flaga.source=libia_img;objParam.country="Libya";}
	if(objParam.nazwa_panstwa == "Morocco" || objParam.nazwa_panstwa == "Maroko"){objParam.nazwa = "Maroko"; img_flaga.source=maroko_img;objParam.country="Morocco";}
	if(objParam.nazwa_panstwa == "Mozambique" || objParam.nazwa_panstwa == "Mozambik"){objParam.nazwa = "Mozambik"; img_flaga.source=mozambik_img;objParam.country="Mozambique";}
	if(objParam.nazwa_panstwa == "Namibia" || objParam.nazwa_panstwa == "Namibia"){objParam.nazwa = "Namibia"; img_flaga.source=namibia_img;objParam.country="Namibia";}
	if(objParam.nazwa_panstwa == "Nigeria" || objParam.nazwa_panstwa == "Nigeria"){objParam.nazwa = "Nigeria"; img_flaga.source=nigeria_img;objParam.country="Nigeria";}
	if(objParam.nazwa_panstwa == "Senegal" || objParam.nazwa_panstwa == "Senegal"){objParam.nazwa = "Senegal"; img_flaga.source=senegal_img;objParam.country="Senegal";}
	if(objParam.nazwa_panstwa == "South Africa" || objParam.nazwa_panstwa == "Republika Południowej Afryki"){objParam.nazwa = "Republika Południowej Afryki"; img_flaga.source=rpa_img;objParam.country="South Africa";}
	if(objParam.nazwa_panstwa == "Sudan" || objParam.nazwa_panstwa == "Sudan"){objParam.nazwa = "Sudan"; img_flaga.source=sudan_img;objParam.country="Sudan";}
	if(objParam.nazwa_panstwa == "Tanzania" || objParam.nazwa_panstwa == "Tanzania"){objParam.nazwa = "Tanzania"; img_flaga.source=tanzania_img;objParam.country="Tanzania";}
	if(objParam.nazwa_panstwa == "Togo" || objParam.nazwa_panstwa == "Togo"){objParam.nazwa = "Togo"; img_flaga.source=togo_img;objParam.country="Togo";}
	if(objParam.nazwa_panstwa == "Tunisia" || objParam.nazwa_panstwa == "Tunezja"){objParam.nazwa = "Tunezja"; img_flaga.source=tunezja_img;objParam.country="Tunisia";}
	if(objParam.nazwa_panstwa == "Trinidad and Tobago" || objParam.nazwa_panstwa == "Trinidad i Tobago"){objParam.nazwa = "Trinidad i Tobago"; img_flaga.source=trynidad_tobago_img;objParam.country="Trinidad and Tobago";}
	if(objParam.nazwa_panstwa == "Zambia" || objParam.nazwa_panstwa == "Zambia"){objParam.nazwa = "Zambia"; img_flaga.source=zambia_img;objParam.country="Zambia";}
	if(objParam.nazwa_panstwa == "Zimbabwe" || objParam.nazwa_panstwa == "Zimbabwe"){objParam.nazwa = "Zimbabwe"; img_flaga.source=zimbabwe_img;objParam.country="Zimbabwe";}

	if(objParam.nazwa_panstwa == "Swaziland" || objParam.nazwa_panstwa == "Swaziland"){objParam.nazwa = "Swaziland"; img_flaga.source=swaziland_img;objParam.country="Swaziland";}
	if(objParam.nazwa_panstwa == "Czad" || objParam.nazwa_panstwa == "Czad"){objParam.nazwa = "Czad"; img_flaga.source=czad_img;objParam.country="Czad";}
	if(objParam.nazwa_panstwa == "Zachodnia Sachara" || objParam.nazwa_panstwa == "Zachodnia Sachara"){objParam.nazwa = "Zachodnia Sachara"; img_flaga.source=czad_img;objParam.country="Zachodnia Sachara";}
	if(objParam.nazwa_panstwa == "Mali" || objParam.nazwa_panstwa == "Mali"){objParam.nazwa = "Mali"; img_flaga.source=mali_img;objParam.country="Mali";}

	if(objParam.nazwa_panstwa == "Gwinea" || objParam.nazwa_panstwa == "Gwinea"){objParam.nazwa = "Gwinea"; img_flaga.source=gwinea_img;objParam.country="Gwinea";}
	if(objParam.nazwa_panstwa == "Burkina faso" || objParam.nazwa_panstwa == "Burkina faso"){objParam.nazwa = "Burkina faso"; img_flaga.source=burkina_faso_img;objParam.country="Burkina faso";}
	if(objParam.nazwa_panstwa == "Mauretania" || objParam.nazwa_panstwa == "Mauretania"){objParam.nazwa = "Mauretania"; img_flaga.source=mauretania_img;objParam.country="Mauretania";}
	if(objParam.nazwa_panstwa == "Liberia" || objParam.nazwa_panstwa == "Liberia"){objParam.nazwa = "Liberia"; img_flaga.source=liberia_img;objParam.country="Liberia";}

	if(objParam.nazwa_panstwa == "Sierra Leone" || objParam.nazwa_panstwa == "Sierra Leone"){objParam.nazwa = "Sierra Leone"; img_flaga.source=sierra_leone_img;objParam.country="Sierra Leone";}
	if(objParam.nazwa_panstwa == "Republika Nigru" || objParam.nazwa_panstwa == "Republika Nigru"){objParam.nazwa = "Republika Nigru"; img_flaga.source=niger_img;objParam.country="Republika Nigru";}
	if(objParam.nazwa_panstwa == "Republika środkowoafrykańska" || objParam.nazwa_panstwa == "Republika środkowoafrykańska"){objParam.nazwa = "Republika środkowoafrykańska"; img_flaga.source=republika_srodkowoafrykanska_img;objParam.country="Republika środkowoafrykańska";}
	if(objParam.nazwa_panstwa == "Gwinea równikowa" || objParam.nazwa_panstwa == "Gwinea równikowa"){objParam.nazwa = "Gwinea równikowa"; img_flaga.source=gwinea_rownikowa_img;objParam.country="Gwinea równikowa";}
	if(objParam.nazwa_panstwa == "Uganda" || objParam.nazwa_panstwa == "Uganda"){objParam.nazwa = "Uganda"; img_flaga.source=uganda_img;objParam.country="Uganda";}
	if(objParam.nazwa_panstwa == "Somalia" || objParam.nazwa_panstwa == "Somalia"){objParam.nazwa = "Liberia"; img_flaga.source=somalia_img;objParam.country="Somalia";}
	if(objParam.nazwa_panstwa == "Rwanda" || objParam.nazwa_panstwa == "Rwanda"){objParam.nazwa = "Rwanda"; img_flaga.source=somalia_img;objParam.country="Rwanda";}
	if(objParam.nazwa_panstwa == "Madagaskar" || objParam.nazwa_panstwa == "Madagaskar"){objParam.nazwa = "Madagaskar"; img_flaga.source=madagaskar_img;objParam.country="Madagaskar";}
	if(objParam.nazwa_panstwa == "Erytrea" || objParam.nazwa_panstwa == "Erytrea"){objParam.nazwa = "Erytrea"; img_flaga.source=erytrea_img;objParam.country="Erytrea";}
	if(objParam.nazwa_panstwa == "Lesotho" || objParam.nazwa_panstwa == "Lesotho"){objParam.nazwa = "Lesotho"; img_flaga.source=lesotho_img;objParam.country="Lesotho";}

	/*********************   /Afryka    *******************/
	/*********************   Australia    *******************/
	if(objParam.nazwa_panstwa == "Australia" || objParam.nazwa_panstwa == "Australia"){objParam.nazwa = "Australia"; img_flaga.source=australia_img;objParam.country="Australia";}
	if(objParam.nazwa_panstwa == "New Zealand" || objParam.nazwa_panstwa == "Nowa Zelandia"){objParam.nazwa = "Nowa Zelandia"; img_flaga.source=nowa_zelandia_img;objParam.country="New Zealand";}
				
	/*********************   /Australia    *******************/
				
	/*********************   Ameryka Północna i Centralna    *******************/
	if(objParam.nazwa_panstwa == "Canada" || objParam.nazwa_panstwa == "Kanada"){objParam.nazwa = "Kanada"; img_flaga.source=kanada_img;objParam.country="Canada";}
	if(objParam.nazwa_panstwa == "Mexico" || objParam.nazwa_panstwa == "Meksyk"){objParam.nazwa = "Meksyk"; img_flaga.source=meksyk_img;objParam.country="Mexico";}
	if(objParam.nazwa_panstwa == "United States" || objParam.nazwa_panstwa == "Stany Zjednoczone Ameryki Północnej"){objParam.nazwa = "Stany Zjednoczone Ameryki Północnej"; img_flaga.source=usa_img;objParam.country="United States";}
	if(objParam.nazwa_panstwa == "Costa Rica" || objParam.nazwa_panstwa == "Kostaryka"){objParam.nazwa = "Kostaryka"; img_flaga.source=kostaryka_img;objParam.country="Costa Rica";}
	if(objParam.nazwa_panstwa == "Cuba" || objParam.nazwa_panstwa == "Kuba"){objParam.nazwa = "Kuba"; img_flaga.source=kuba_img;objParam.country="Cuba";}
	if(objParam.nazwa_panstwa == "El Salvador" || objParam.nazwa_panstwa == "Salwador"){objParam.nazwa = "Salwador"; img_flaga.source=salvador_img;objParam.country="El Salvador";}
	if(objParam.nazwa_panstwa == "Guatemala" || objParam.nazwa_panstwa == "Gwatemala"){objParam.nazwa = "Gwatemala"; img_flaga.source=gwatemala_img;objParam.country="Guatemala";}
	if(objParam.nazwa_panstwa == "Honduras" || objParam.nazwa_panstwa == "Honduras"){objParam.nazwa = "Honduras"; img_flaga.source=honduras_img;objParam.country="Honduras";}
	if(objParam.nazwa_panstwa == "Nicaragua" || objParam.nazwa_panstwa == "Nikaragua"){objParam.nazwa = "Nikaragua"; img_flaga.source=nikaragua_img;objParam.country="Nicaragua";}
	if(objParam.nazwa_panstwa == "Panama" || objParam.nazwa_panstwa == "Panama"){objParam.nazwa = "Panama"; img_flaga.source=panama_img;objParam.country="Panama";}
	if(objParam.nazwa_panstwa == "Dominican Republic" || objParam.nazwa_panstwa == "Republika Dominikany"){objParam.nazwa = "Republika Dominikany"; img_flaga.source=dominikana_img;objParam.country="Dominican Republic";}
	if(objParam.nazwa_panstwa == "Haiti" || objParam.nazwa_panstwa == "Haiti"){objParam.nazwa = "Haiti"; img_flaga.source=haiti_img;objParam.country="Haiti";}
	if(objParam.nazwa_panstwa == "Jamaica" || objParam.nazwa_panstwa == "Jamajka"){objParam.nazwa = "Jamajka"; img_flaga.source=jamajka_img;objParam.country="Jamaica";}
	/*********************   /Ameryka Północna i Centralna   *******************/
			
	if(objParam.nazwa_panstwa == "Argentina" || objParam.nazwa_panstwa == "Argentyna"){objParam.nazwa = "Argentyna"; img_flaga.source=argentyna_img;objParam.country="Argentina";}
	if(objParam.nazwa_panstwa == "Bolivia" || objParam.nazwa_panstwa == "Boliwia"){objParam.nazwa = "Boliwia"; img_flaga.source=boliwia_img;objParam.country="Bolivia";}
	if(objParam.nazwa_panstwa == "Brazil" || objParam.nazwa_panstwa == "Brazylia"){objParam.nazwa = "Brazylia"; img_flaga.source=brazylia_img;objParam.country="Brazil";}
	if(objParam.nazwa_panstwa == "Chile" || objParam.nazwa_panstwa == "Chile"){objParam.nazwa = "Chile"; img_flaga.source=chile_img;objParam.country="Chile";}
	if(objParam.nazwa_panstwa == "Colombia" || objParam.nazwa_panstwa == "Kolumbia"){objParam.nazwa = "Kolumbia"; img_flaga.source=kolumbia_img;objParam.country="Colombia";}
	if(objParam.nazwa_panstwa == "Ecuador" || objParam.nazwa_panstwa == "Ekwador"){objParam.nazwa = "Ekwador"; img_flaga.source=ekwador_img;objParam.country="Ecuador";}
	if(objParam.nazwa_panstwa == "Paraguay" || objParam.nazwa_panstwa == "Paragwaj"){objParam.nazwa = "Paragwaj"; img_flaga.source=paragwaj_img;objParam.country="Paraguay";}
	if(objParam.nazwa_panstwa == "Peru" || objParam.nazwa_panstwa == "Peru"){objParam.nazwa = "Peru"; img_flaga.source=peru_img;objParam.country="Peru";}
	if(objParam.nazwa_panstwa == "Uruguay" || objParam.nazwa_panstwa == "Urugwaj"){objParam.nazwa = "Urugwaj"; img_flaga.source=urugwaj_img;objParam.country="Uruguay";}
	if(objParam.nazwa_panstwa == "Venezuela, RB" || objParam.nazwa_panstwa == "Wenezuela"){objParam.nazwa = "Wenezuela"; img_flaga.source=wenezuela_img;objParam.country="Venezuela, RB";}
				
	}